Skip to content

webextensions.api.userScripts - Missing execute method #26938

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
erosman opened this issue May 29, 2025 · 3 comments
Open

webextensions.api.userScripts - Missing execute method #26938

erosman opened this issue May 29, 2025 · 3 comments
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions p3 Medium priority – Community PRs encouraged.

Comments

@erosman
Copy link
Contributor

erosman commented May 29, 2025

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

execute method is already implemented by Chrome

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Method listed

Did you test this? If so, how?

n/a

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/userScripts

MDN metadata

MDN page report details
  • Query: webextensions.api.userScripts
  • Report started: 2025-05-29T16:52:23.849Z
@erosman erosman added the needs triage This issue needs to be confirmed label May 29, 2025
@github-actions github-actions bot added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label May 29, 2025
@caugner
Copy link
Contributor

caugner commented May 30, 2025

We don't currently document Chrome-only WebExtensions APIs in BCD or on MDN.

/cc @rebloor

@caugner caugner added on hold Waiting on something else before this can be moved forward. and removed needs triage This issue needs to be confirmed labels May 30, 2025
@caugner
Copy link
Contributor

caugner commented May 30, 2025

This feature is actually tracked for implementation in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1930776

So we can probably go ahead and add this data.

And while we're here, we could also add this Safari impl_url for webextensions.api.userScripts: https://bugs.webkit.org/show_bug.cgi?id=271472

@caugner caugner added p3 Medium priority – Community PRs encouraged. and removed on hold Waiting on something else before this can be moved forward. labels May 30, 2025
@erosman
Copy link
Contributor Author

erosman commented May 30, 2025

We don't currently document Chrome-only WebExtensions APIs in BCD or on MDN.

MDN has become the primary reference site for JavaScript & browser API, and not only for Firefox.
There are many entries on MDN that are not supported by Firefox yet, and some that are not even planned.
IMHO, it is good to cover all related data.

Examples

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions
https://developer.mozilla.org/en-US/docs/Web/API/Navigation/navigate
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import/with with {type: 'css'})

See also

#17635 (comment)

We don't track features that aren't implemented in any browser in BCD, so I'm going to close this issue.

mdn/content#29555 (comment)

Does it make sense to document this parameter already, even if Firefox doesn't support it yet?

As an example, please note notifications: Browser compatibility & notifications.TemplateType which include many items that Firefox does not support and has no plans to support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions p3 Medium priority – Community PRs encouraged.
Projects
None yet
Development

No branches or pull requests

2 participants